using System;
using System.Collections.Generic;

namespace Core
{
    public class PurchaseInvoice
    {
        public virtual string PINo { get; set; }
        public virtual DateTime PIDate { get; set; }
        //Auto from BTB
        public virtual Supplier Supplier { get; set; }
        //Auto from PO
        public virtual Currency Currency { get; set; }
        //Auto from PO
        public virtual Decimal Kurs { get; set; }
        //Auto from PO
        public virtual string Term { get; set; }
        //Auto from PO
        public virtual Decimal Ppn { get; set; }
        public virtual string Description { get; set; }
        public virtual IList<PurchaseInvoiceDetail> PurchaseInvoiceDetails { get; set; }
        public virtual Decimal BiayaForwarder { get; set; }
        //public virtual Decimal BiayaTrucking { get; set; }
        //public virtual Decimal BiayaLain { get; set; }
        public virtual string created_by { get; set; }
        public virtual DateTime? created_date { get; set; }
        public virtual string modified_by { get; set; }
        public virtual DateTime? modified_date { get; set; }
        public virtual Decimal Discount { get; set; }
        public virtual string DiscountType { get; set; }
        public virtual int Status { get; set; }
        public virtual IList<BTB> Btbs { get; set; }
    }
}